package hbxz.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author yhb
 * @date 2021/6/8
 */

@FeignClient(value = "credit-service" ,fallback = CreditServiceFallback.class)
public interface CreditService {

    @GetMapping("/credit/add")
    String creditAdd();

}
